package com.cy.pj.eiems.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/")
@Controller
public class PageController {
	
	@RequestMapping("doIndexUI")
	public String doIndexUI() {
		return "start";
	}
	
	@RequestMapping("{module}/{ui}")
	public String doModuleUI(@PathVariable String ui) {
		return "sys/"+ui;
	}
	
	@RequestMapping("doLoginUI")
	public String doLoginUI() {
		return "login";
	}
	
	@RequestMapping("logon")
	public String doLogon() {
		return "logon";
	}
	
	@RequestMapping("doPageUI")
	public String doPageUI() {
		return "common/page";
	}
	
	@RequestMapping("agencyComment/agencyComment_list")
	public String agencyCommentDoLogUI() {
		  return "sys/agencyComment_list";
	}
//	@RequestMapping("comment/comment_list")
//	public String doCommentUI() {
//		return "sys/comment_list";
//	}
	
}
